/*
 *  Copyright (c) 2013 Hai Bison
 *
 *  See the file LICENSE at the root directory of this project for copying
 *  permission.
 */

package com.haibison.android.hutieu.utils;

import android.content.Intent;

/**
 * Helper class for {@link Intent} in API 16+.
 * 
 * @author Hai Bison
 * 
 */
public class IntentCompat_v16 {

    /**
     * This is singleton class.
     */
    private IntentCompat_v16() {
    }// IntentCompat_v16()

    /**
     * Wrapper for {@link Intent#setTypeAndNormalize(String)}.
     * 
     * @param intent
     *            the intent.
     * @param type
     *            see original method.
     * @return the given intent, for chaining multiple calls into a single
     *         statement.
     */
    public static Intent setTypeAndNormalize(Intent intent, String type) {
        return intent.setTypeAndNormalize(type);
    }// setTypeAndNormalize()

}
